import { HTTP } from "../../utils/http.js";

class FollowUpModel extends HTTP {
	// 线索列表
	getFollowListApi(data) {
		return this.request({
			url: "/wx/student/followList",
			data: data,
			method: 'GET'
		})
	}

	// 获取跟进方式
	getFollowMethodsApi(data) {
		return this.request({
			url: "/system/dict/data/type/follow_methods",
			data: data,
			method: 'GET'
		})
	}

	// 获取跟进阶段
	getFollowPhaseApi(data) {
		return this.request({
			url: "/system/dict/data/type/follow_phase",
			data: data,
			method: 'GET'
		})
	}

	saveFollowApi(data) {
		return this.request({
			url: "/wx/student/followSave",
			data: data,
		})
	}

	deleteFollowApi(data) {
		return this.request({
			url: "/wx/student/followDelete",
			data: data,
		})
	}
}




export { FollowUpModel }